from django.conf.urls.defaults import *

urlpatterns = patterns('routes.views',
	(r'^$', 'listRegions'),
	(r'^listquotas/$', 'listQuotas'),
	(r'^listregions/$', 'listRegions'),
    (r'^editquota/(?P<region_id>\d+)/$', 'addRemoveQuotas'),
	(r'^addroute/(?P<region_id>\d+)/$', 'addRoute'),
	(r'^allroutes/(?P<active>\d+)/$', 'allRoutes'),
	(r'^listroutes/(?P<region_id>\d+)/$', 'listRoutes'),
	(r'^viewroute/(?P<route_id>\d+)/$', 'viewRoute'),
	(r'^rateroute/(?P<route_id>\d+)/$', 'rateRoute'),
	(r'^editroute/(?P<route_id>\d+)/$', 'editRoute'),
	(r'^qr/(?P<route_id>\d+)/$', 'generateQR'),


)
